package com.rzj.sys_lab_assistant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @program: sys_lab_assistant
 * @description: 招聘计划实体类
 * @author: 作者
 * @create: 2021-06-30 18:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("recruitment_plan")
public class RecruitmentPlan {

    private int planId; // 招聘计划编号

    private String planName; // 招聘计划名称

    private String requirement; // 招聘计划内容

    private int planNum; // 招聘计划人数

    private int applyLab; // 申请实验室

    private String tId; // 申请技术员编号

    private Date startTime; // 开始时间

    private Date endTime; // 结束时间

    private Timestamp applyTime; // 申请时间

    private int status; // 状态

    private Timestamp createTime; // 创建时间

    private Timestamp modifyTime; // 更新时间

    public RecruitmentPlan(int planId, String planName, String requirement,
                           int planNum, int applyLab, String tId,
                           Date startTime, Date endTime) {
        this.planId = planId;
        this.planName = planName;
        this.requirement = requirement;
        this.planNum = planNum;
        this.applyLab = applyLab;
        this.tId = tId;
        this.startTime = startTime;
        this.endTime = endTime;
    }
}
